package cn.wolfcode.p2p.business.domain;

import cn.wolfcode.p2p.base.domain.Account;
import cn.wolfcode.p2p.base.domain.BaseDomain;
import lombok.Getter;
import lombok.Setter;

import java.math.BigDecimal;
import java.util.Date;

@Getter
@Setter
public class AccountFlow extends BaseDomain {

    //交易类型(常量类中Contants)
    private Integer actionType;
    //金额
    private BigDecimal amount;
    //备注
    private String note;
    //可用余额
    private BigDecimal usableAmount;
    //冻结余额
    private BigDecimal freezedAmount;
    //交易时间
    private Date actionTime;
    //账户
    private Long accountId;

}